import java.util.Scanner;
public class D4{
	
	public static void main(String[] args){
		
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		if(a > 100 || b > 100){
			System.out.println(a + b - 100);
		}
		else if(a < 100 || b < 100){
		System.out.println(a + b);
		}
	}
	    //Syetem.out.println()
}